package com.imooc.course.server.enums;

public enum BusinessExceptionEnum {

    USER_LOGIN_NAME_EXIST("用户名已存在"),
    LOGIN_ERROR("用户名或密码不存在"),
    SHORT_MESSAGING_TOO_FREQUENT("短信操作太过频繁"),
    SHORT_MESSAGING_ERROR("短信验证码错误"),
    SHORT_MESSAGING_EXPIRED("短信已过期"),
    MEMBER_NOT_EXIST("没有这个会员"),
    ;

    private String desc;

    private BusinessExceptionEnum(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
